﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data.SqlClient;
using System.Linq;
using System.Text;

namespace Kanban.Repository
{
    public class ConexaoSql
    {
        public static SqlConnection ObterConexao()
        {
            SqlConnection conexao = new SqlConnection();
            conexao.ConnectionString = ConfigurationManager.ConnectionStrings["Sql"].ConnectionString;
            conexao.Open();
            return conexao;
        }
    }
}
